﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MenusSample
{
    /// <summary>
    /// 菜单卡，每个菜单卡有多个菜单项 
    /// </summary>
    public class MenuCard
    {
         public int MenuCardId { get; set; }
        public string Title { get; set; }
        //1个菜单卡有多个菜单项，1对多关系
        public List<Menu> Menus { get; } = new List<Menu>();
        public override string ToString() => Title;
    }

}
